←Select platform

Insert(string,byte[],CacheItemPriority,string) Method

Summary

Adds a new item into the user context store.

Syntax

C#
VB
C++
public void Insert( 
   string Id, 
   byte[] data, 
   CacheItemPriority priority, 
   string dependency 
) 
  
Overloads Sub Insert( _ 
   ByVal Id As String, _ 
   ByVal data() As Byte, _ 
   ByVal priority As CacheItemPriority, _ 
   ByVal dependency As String _ 
)  
void Insert(  
   String^ Id, 
   array<byte>^ data, 
   CacheItemPriority priority, 
   String^ dependency 
)  

Parameters

Id
A System.String that identifies the item to be stored.

data
The an array of System.Byte to be inserted as the item information.

priority
The precedence of the stored item relative to other items stored, check the System.Web.Caching.CacheItemPriority enumeration.

dependency
A path to a file that is related to the inserted item, when this item is deleted this dependency file will also be deleted.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Caching Assembly